#ifndef COMMAND_H
#define COMMAND_H

#include"receiver.h"
class Command{
public:
    virtual ~Command(){}
    Command(IReceiver*receiver):m_pReceiver(receiver){}
    virtual void excute()=0;//执行命令
protected:
    IReceiver *m_pReceiver;

};
#endif // COMMAND_H
